Release 10.1A: OpenEdge Development:
Java Open Clients


Progress 4GL mechanisms for passing temp-tables and ProDataSets

In the 4GL, you pass a static temp-table using a TABLE parameter and pass a static ProDataSet using a DATASET parameter. In the Java Open Client, you must ensure that the meta data for the proxy method parameter maps exactly to the schema of the corresponding static temp-table or ProDataSet passed in the 4GL.

In the 4GL, you pass a dynamic temp-table using a TABLE-HANDLE parameter and pass a dynamic ProDataSet using a DATASET-HANDLE parameter. In the Java Open Client or in the 4GL application service, there is no requirement to know the meta data or schema of the complex data that is passed. However, you must otherwise introspect the parameter meta data in the Java client and the parameter schema in the application service in order to access the data at either end.

Note: Of course, even for a dynamic data structure, if you know the meta data or schema of the corresponding parameter at the opposite end, the programming is much less complex.

Depending on the mechanisms you use to pass a temp-table or ProDataSet in the 4GL and the corresponding parameter in the Java Open Client, OpenEdge provides different options to optimize and manage the data transfer.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095